#ifndef QMYKASA_H
#define QMYKASA_H

#include <qmybasewidget.h>
#include "ui_qmykasa.h"
#include "qkasavnes.h"
#include "qkasakorekcija.h"
#include "qkasalista.h"

class QMyKasa : public QMyBaseWidget
{
	Q_OBJECT

public:
	QMyKasa(QWidget *parent = 0);
	~QMyKasa();
	virtual void pressF2();
	virtual void pressF3();
	virtual void pressF4();
	virtual void pressEscape();
	virtual void refresh();


private:
	Ui::QMyKasaClass ui;
	QKasaVnes *kasaVnes;
	QKasaKorekcija *kasaKorekcija;
	QKasaLista *kasaLista;

protected:
	void closeAllForm();

signals:
	void signCloseMyWidget();
	void signKomintentiFromFaktura();
	void signKomintentiFromKasa(QWidget*);
	void signArtikliFromKasa(QWidget*);
public slots:
	void closeWLista();
	void closeW();
	void callKomintenti(QWidget* );
	void callArtikli(QWidget* myobj);

};

#endif // QMYKASA_H
